@charset "UTF-8";
/* 全局样式重置 */
* {
    padding: 0;
    margin: 0;
}

/* 页面主体样式 */
body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(to right, #3d9ef4 0%, #00f2fe 100%);
}

/* 包含图片的盒子样式 */
.con-box img {
    width: 150px;
    opacity: 0.9;
    margin: 40px 0;
}

/* 容器样式 */
.container {
    background-color: #fff;
    width: 650px;
    height: 415px;
    border-radius: 15px;
    position: relative;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
}

/* 表单盒子样式 */
.form-box {
    position: absolute;
    top: -10%;
    left: 5%;
    background-color: #449fef;
    width: 320px;
    height: 500px;
    border-radius: 10px;
    box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: 0.5s ease-in-out;
}

/* 登录盒子样式 */
.login-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* 标题样式 */
h1 {
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 5px;
}

/* 输入框样式 */
input {
    background-color: transparent;
    width:109%;
    color: #fff;
    border: none;
    padding: 10px 1px;
    text-indent: 24px;
    border-bottom: 1px solid #afcee9;
    font-size: 14px;
    letter-spacing: 2px;
}

/* 关闭眼睛图标样式 */
.closeEyes1,
.closeEyes2,
.closeEyes {
    position: absolute;
    left: 158px;
    top: 2px;
    font-size: 22px;
    cursor: pointer;
    display: flex;
}

/* 忘记密码链接样式 */
.forget {
    position: relative;
    top: -60px;
    left: 149px;
    font-size: 13px;
    text-decoration: none;
    color: #1f1482;
}

/* 记住密码复选框样式 */
#remember {
    width: 14px;
    margin-right: 8px;
}

/* 记住密码文本样式 */
.remember-password {
    display: flex;
    top: -6px;
    left: 10px;
    font-size: 13px;
    cursor: pointer;
}

/* 注册盒子中的span样式 */
.register-box span {
    margin-left: 16%;
    display: inline-block;
}

/* 按钮相关的位置样式 */
.button {
    position: relative;
    left: -17px;
}

.toggle {
    position: relative;
    left: 41px;
}

/* 验证码输入框的底部边距样式 */
.input_code {
    margin-bottom: 14px;
}

/* 打开眼睛图标样式 */
.openEyes1,
.openEyes2,
.openEyes {
    position: absolute;
    left: 158px;
    top: 2px;
    font-size: 22px;
    display: none;
    cursor: pointer;
}

.closeEyes,
.openEyes {
    left: 190px;
}

/* 验证码输入框宽度样式 */
.input_code {
    width: 34%;
}

/* 注册按钮的左边距样式 */
.registerButton {
    margin-left: 15%;
}

/* 获取验证码按钮样式 */
#get-code {
    width: 98px;
    margin-top: 0px;
    padding: 8px;
}

/* 输入框占位符样式 */
input::placeholder {
    color: #fff;
}

/* span的相对定位样式 */
span {
    position: relative;
}

/* span中i元素的绝对定位样式 */
span i {
    position: absolute;
    left: 1px;
    top: 9px;
}

/* 邮箱相关的定位样式 */
.emailL {
    top: 26%;
    left: 0%;
}

/* 密码相关的定位样式 */
.passwordL {
    top: 8%;
    left: 0%;
}

/* 登录盒子中span的右边距和定位样式 */
.login-box span {
    margin-right: 19px;
    position: relative;
}

.user,
.email {
    top: 24%;
}

/* 输入框获取焦点时的样式 */
input:focus {
    color: #1f1482;
    outline: none;
    border-bottom: 1px solid #18456c;
    transition: 0.5s;
}
.loginCode-box{
    display: none;
}
input:focus::placeholder {
    opacity: 0;
}

/* 表单盒子中按钮的样式 */
.form-box button {
    width: 70%;
    margin-top: 35px;
    background-color: #89d5fc;
    outline: none;
    border-radius: 8px;
    padding: 13px;
    color: #082b8e;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

/* 表单盒子中按钮的hover样式 */
.form-box button:hover {
    background-color: #2a7cef;
    color: #f6f6f6;
    transition: background-color 0.5s ease;
}

/* 内容盒子样式 */
.con-box {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/* 内容盒子在左边的样式 */
.con-box.left {
    left: -2%;
}

/* 内容盒子在右边的样式 */
.con-box.right {
    right: -2%;
}

/* 内容盒子中h2的样式 */
.con-box h2 {
    color: #4f75b8;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 4px;
}

/* 内容盒子中p的样式 */
.con-box p {
    font-size: 12px;
    letter-spacing: 2px;
    color: #264dba;
    text-align: center;
}

/* 内容盒子中span的样式 */
.con-box span {
    color: #3BA7F4;
}

/* 内容盒子中按钮的样式 */
.con-box button {
    margin-top: 3%;
    background-color: #fff;
    color: #133fbb;
    border: 2px solid #72a5eb;
    padding: 5px 9px;
    border-radius: 5px;
    letter-spacing: 2px;
    outline: none;
    cursor: pointer;
}

/* 内容盒子中按钮的hover样式 */
.con-box button:hover {
    background-color: #2a7cef;
    color: #70f8ff;
}

/* 书本相关的外层定位样式 */
.bookOuter {
    position: relative;
}

/* 书本的定位样式 */
.book {
    position: absolute;
    left: 644px;
    top: -127px;
}

/* 密码登录相关的右边距样式 */
.password-login {
    margin-right: 23px;
}

/* 验证码登录的flex样式 */
.code-login {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 90%;
    margin-left: 17px;
}

/* 验证码登录中验证码相关的定位样式 */
.code-code-login {
    position: relative;
    left: 48px;
}

/* 验证码登录按钮的定位样式 */
.code-login-button {
    position: relative;
    left: 0px;
}

/* 切换密码相关的左边距样式 */
.toggle-password {
    margin-left: -79px;
}

/* 隐藏元素的样式 */
.hidden {
    display: none;
    transition: 0.5s;
}

/* 密码相关结果提示的样式 */
#resultPassword0,
#resultPassword1 {
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 12px;
    width: 100%;
    white-space: nowrap;
    color: #eb3232;
    z-index: 2;
}

/* 邮箱相关结果提示的样式 */
#resultPassword0,
#resultUser,
#resultPasswordAgain,
#resultEmail0 {
    position: absolute;
    bottom: -18px;
    left: -4px;
    font-size: 12px;
    width: 100%;
    white-space: nowrap;
    color: #eb3232;
    z-index: 2;
}

#resultEmail2 {
    position: absolute;
    bottom: -20px;
    left: 22px;
    font-size: 12px;
    width: 100%;
    white-space: nowrap;
    color: #eb3232;
    z-index: 2;
}

#resultEmail1 {
    position: absolute;
    top: 35px;
    left: 27px;
    font-size: 12px;
    width: 100%;
    white-space: nowrap;
    color: #eb3232;
    z-index: 2;
}

#resultPassword1 {
    position: absolute;
    top: 35px;
    left: 27px;
    font-size: 12px;
    width: 100%;
    white-space: nowrap;
    color: #eb3232;
    z-index: 2;
}

/*#customAlert {
    padding: 30px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    background-color: white;
    position: fixed;
    left: 43%;
    top: 10%;
    display: none;
    border-radius: 9px;
}*/
#customAlert {
    background-color: white;
    border: 1px solid #ccc;
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);*/
    z-index: 1000;
padding: 15px 10px;
    position: fixed;
    left: 43%;
    top: 10%;

    border-radius: 9px;

}

#customAlert #alertMessage {
   /*padding: 10px;*/


    font-size: 14px;
}
